package com.cq.hd.member.service;

import com.cq.hd.common.pagination.Page;
import com.cq.hd.member.api.dto.EnterBusinessPageDto;
import com.cq.hd.member.api.dto.InviteBusinessUrlPageDto;
import com.cq.hd.member.api.dto.InviteBusinessUrlSaveDto;
import com.cq.hd.member.api.vo.EnterBusinessPageVo;
import com.cq.hd.member.api.vo.InviteBusinessUrlPageVo;
import com.cq.hd.member.po.TbInviteBusinessUrlPo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 邀请商家链接表 服务类
 * </p>
 *
 * @author mYunYu
 * @since 2023-11-19
 */
public interface TbInviteBusinessUrlService extends IService<TbInviteBusinessUrlPo> {

    Long saveInviteBusinessUrl(InviteBusinessUrlSaveDto inviteBusinessUrlSaveDto);

    Page<InviteBusinessUrlPageVo> pageInviteBusinessUrl(InviteBusinessUrlPageDto inviteBusinessUrlPageDto);

    void deleteInviteBusinessUrl(Long id);

    Page<EnterBusinessPageVo> pageEnterBusiness(EnterBusinessPageDto enterBusinessPageDto);

    InviteBusinessUrlPageVo getInviteBusinessUrlById(Long id);
}
